package com.order.ctl;

import com.payment.client.SomethingClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestHeader;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * hello
 *
 * @author dzh
 * @date 2022/12/19 14:20
 */
@RestController
@RequestMapping
public class SomethingClientCtl {

    @Resource
    SomethingClient somethingClient;

    @GetMapping("say")
    public String say() {
        return somethingClient.say();
    }
}
